# $Id: PKGBUILD 55451 2011-09-12 23:46:30Z ebelanger $
# Contributor: Peter Baldwin <bald_pete@hotmail.com>

pkgname=mpgtx
pkgver=1.3.1
pkgrel=3
pkgdesc="A command line MPEG audio/video/system toolkit"
arch=('i686' 'x86_64')
url="http://mpgtx.sourceforge.net"
license=('GPL')
depends=('gcc-libs')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d628060aa04ad3b40a175bf35f5167cf')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX="$pkgdir/usr" manprefix="${pkgdir}/usr/share" install
}
